package entity;

import java.io.Serializable;


public class Flight implements Serializable
{
	private String name;
	private String date;
	private String time;
	private int price;
	private int emptySeats;
	
	public Flight(String name, String date, String time, int price, int emptySeats)
	{
		this.name = name;
		this.date = date;
		this.time = time;
		this.price = price;
		this.emptySeats = emptySeats;
	}
	
	public Flight()
	{
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public String getDate() {
		return date;
	}
	
	public void setDate(String date) {
		this.date = date;
	}
	
	public int getPrice() {
		return price;
	}
	
	public void setPrice(int price) {
		this.price = price;
	}
	
	public int getEmptySeats() {
		return emptySeats;
	}
	
	public void setEmptySeats(int emptySeats) {
		this.emptySeats = emptySeats;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}
}
